<{include file="public/admin_header" /}>
<style type="text/css">
    .menu-content{border: 1px solid #e6e6e6; width: 500px;}
</style>
<fieldset class="layui-elem-field layui-field-title" style="margin-top:0;">
    <legend><{$MenuName}></legend>
</fieldset>
<form class="layui-form layui-form-pane" action="<{:url('distribution')}>" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label" style="height:302px; line-height:302px; width: 220px; padding: 0;">消费商推荐奖参数<br>（一次性）</label>
        <div class="layui-input-inline menu-content">
            <table width="100%" border="0" cellpadding="8" cellspacing="0">
                <{volist name="ConsumptionList" id="val"}>
                <tr>
                    <td height="50" width="100" align="right"><{$val.TypeName}>：</td>
                    <td width="160" align="left">
                        <input type="text" name="Consumption[<{$val.TypeID}>]" value="<{$OneData[$val['TypeID']]|default=''}>" class="layui-input" style="width: 150px;">
                    </td>
                    <td>元</td>
                </tr>
                <{/volist}>
            </table>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="height:152px; line-height:152px; width: 220px; padding: 0;">
            消费商三三裂变参数
            <br>（一次性）
        </label>
        <div class="layui-input-inline menu-content">
            <table width="100%" border="0" cellpadding="8" cellspacing="0">
                <{volist name="ConsumptionList33" id="val"}>
                <tr>
                    <td height="50" width="100" align="right"><{$val.TypeName}>：</td>
                    <td width="160" align="left">
                        <input type="text" name="Consumption33[<{$val.TypeID}>]" value="<{$SixData[$val['TypeID']]|default=''}>" class="layui-input" style="width: 150px;">
                    </td>
                    <td>元</td>
                </tr>
                <{/volist}>
            </table>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="height:152px; line-height:152px; width: 220px; padding: 0;">
            代理商推荐奖参数
            <br>（长期）
        </label>
        <div class="layui-input-inline menu-content">
            <table width="100%" border="0" cellpadding="8" cellspacing="0">
                <{volist name="AgentList" id="val"}>
                <tr>
                    <td height="50" width="100" align="right"><{$val.TypeName}>：</td>
                    <td width="160" align="left">
                        <input type="text" name="Agent[<{$val.TypeID}>]" value="<{$TwoData[$val['TypeID']]|default=''}>" class="layui-input" style="width: 150px;">
                    </td>
                    <td>元</td>
                </tr>
                <{/volist}>
            </table>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="width:220px; height: 50px; line-height: 50px; padding: 0;">官方推荐官方321推荐奖设置</label>
        <div class="layui-input-inline menu-content">
            <p style="float:left;padding:15px 0 0 10px;">金额比例：</p>
            <input type="text" class="layui-input" style="width:150px;float:left;margin: 5px 0;" name="OfficialScale" value="<{$ThreeData}>">
            <p style="float:left;padding:15px 0 0 10px;">以下划线分隔，如：3_2_1</p>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="width:220px; height: 50px; line-height: 50px; padding: 0;">
            官方推荐核心/总代推荐奖设置
        </label>
        <div class="layui-input-inline menu-content">
            <p style="float:left;padding:15px 0 0 10px;">核心推荐奖：</p>
            <input type="text" class="layui-input" style="width:110px;float:left;margin: 5px 0;" name="KernelMoney" value="<{$FourData}>">
            <p style="float:left;padding:15px 0 0 10px;">元</p>
            <p style="float:left;padding:15px 0 0 20px;">总代推荐奖：</p>
            <input type="text" class="layui-input" style="width:110px;float:left;margin: 5px 0;" name="GeneralAgentMoney" value="<{$FiveData}>">
            <p style="float:left;padding:15px 0 0 10px;">元</p>
        </div>
    </div>
    <div class="layui-form-item">
        <button class="layui-btn" type="submit">提交保存</button>
    </div>
</form>
<{include file="public/admin_footer" /}>